﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020005AD RID: 1453
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishQuestCsReq : IMessage<FinishQuestCsReq>, IMessage, IEquatable<FinishQuestCsReq>, IDeepCloneable<FinishQuestCsReq>, IBufferMessage
	{
		// Token: 0x1700129F RID: 4767
		// (get) Token: 0x06004152 RID: 16722 RVA: 0x000B29FD File Offset: 0x000B0BFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishQuestCsReq> Parser
		{
			get
			{
				return FinishQuestCsReq._parser;
			}
		}

		// Token: 0x170012A0 RID: 4768
		// (get) Token: 0x06004153 RID: 16723 RVA: 0x000B2A04 File Offset: 0x000B0C04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishQuestCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170012A1 RID: 4769
		// (get) Token: 0x06004154 RID: 16724 RVA: 0x000B2A16 File Offset: 0x000B0C16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishQuestCsReq.Descriptor;
			}
		}

		// Token: 0x06004155 RID: 16725 RVA: 0x000B2A1D File Offset: 0x000B0C1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishQuestCsReq()
		{
		}

		// Token: 0x06004156 RID: 16726 RVA: 0x000B2A25 File Offset: 0x000B0C25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishQuestCsReq(FinishQuestCsReq other) : this()
		{
			this.questId_ = other.questId_;
			this.groupId_ = other.groupId_;
			this.propId_ = other.propId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004157 RID: 16727 RVA: 0x000B2A62 File Offset: 0x000B0C62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishQuestCsReq Clone()
		{
			return new FinishQuestCsReq(this);
		}

		// Token: 0x170012A2 RID: 4770
		// (get) Token: 0x06004158 RID: 16728 RVA: 0x000B2A6A File Offset: 0x000B0C6A
		// (set) Token: 0x06004159 RID: 16729 RVA: 0x000B2A72 File Offset: 0x000B0C72
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint QuestId
		{
			get
			{
				return this.questId_;
			}
			set
			{
				this.questId_ = value;
			}
		}

		// Token: 0x170012A3 RID: 4771
		// (get) Token: 0x0600415A RID: 16730 RVA: 0x000B2A7B File Offset: 0x000B0C7B
		// (set) Token: 0x0600415B RID: 16731 RVA: 0x000B2A83 File Offset: 0x000B0C83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x170012A4 RID: 4772
		// (get) Token: 0x0600415C RID: 16732 RVA: 0x000B2A8C File Offset: 0x000B0C8C
		// (set) Token: 0x0600415D RID: 16733 RVA: 0x000B2A94 File Offset: 0x000B0C94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropId
		{
			get
			{
				return this.propId_;
			}
			set
			{
				this.propId_ = value;
			}
		}

		// Token: 0x0600415E RID: 16734 RVA: 0x000B2A9D File Offset: 0x000B0C9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishQuestCsReq);
		}

		// Token: 0x0600415F RID: 16735 RVA: 0x000B2AAC File Offset: 0x000B0CAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishQuestCsReq other)
		{
			return other != null && (other == this || (this.QuestId == other.QuestId && this.GroupId == other.GroupId && this.PropId == other.PropId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004160 RID: 16736 RVA: 0x000B2B08 File Offset: 0x000B0D08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.QuestId != 0U)
			{
				num ^= this.QuestId.GetHashCode();
			}
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.PropId != 0U)
			{
				num ^= this.PropId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004161 RID: 16737 RVA: 0x000B2B79 File Offset: 0x000B0D79
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004162 RID: 16738 RVA: 0x000B2B81 File Offset: 0x000B0D81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004163 RID: 16739 RVA: 0x000B2B8C File Offset: 0x000B0D8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.QuestId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.QuestId);
			}
			if (this.PropId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.PropId);
			}
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004164 RID: 16740 RVA: 0x000B2C04 File Offset: 0x000B0E04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.QuestId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.QuestId);
			}
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.PropId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004165 RID: 16741 RVA: 0x000B2C74 File Offset: 0x000B0E74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishQuestCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.QuestId != 0U)
			{
				this.QuestId = other.QuestId;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.PropId != 0U)
			{
				this.PropId = other.PropId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004166 RID: 16742 RVA: 0x000B2CD8 File Offset: 0x000B0ED8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004167 RID: 16743 RVA: 0x000B2CE4 File Offset: 0x000B0EE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 72U)
					{
						if (num != 80U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.GroupId = input.ReadUInt32();
						}
					}
					else
					{
						this.PropId = input.ReadUInt32();
					}
				}
				else
				{
					this.QuestId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040019B3 RID: 6579
		private static readonly MessageParser<FinishQuestCsReq> _parser = new MessageParser<FinishQuestCsReq>(() => new FinishQuestCsReq());

		// Token: 0x040019B4 RID: 6580
		private UnknownFieldSet _unknownFields;

		// Token: 0x040019B5 RID: 6581
		public const int QuestIdFieldNumber = 4;

		// Token: 0x040019B6 RID: 6582
		private uint questId_;

		// Token: 0x040019B7 RID: 6583
		public const int GroupIdFieldNumber = 10;

		// Token: 0x040019B8 RID: 6584
		private uint groupId_;

		// Token: 0x040019B9 RID: 6585
		public const int PropIdFieldNumber = 9;

		// Token: 0x040019BA RID: 6586
		private uint propId_;
	}
}
